<?php
/**	
 * @copyright	Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$this->_basewidth = 25;
$positions = array (
	'left1'					=>'left',
	'left2'					=>'right',
	'left-mass-top'			=>'',
	'left-mass-bottom'		=>'',
	'right1'				=>'',
	'right2'				=>'',
	'right-mass-top'		=>'',
	'right-mass-bottom'		=>'',
	'content-mass-top'		=>'',
	'content-mass-bottom'	=>'',
	'content-top'			=>'content-top',
	'content-bottom'		=>'content-bot',
	'inset1'				=>'',
	'inset2'				=>''
);

$this->definePosition ($positions);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

<head>
<?php $this->loadBlock('head') ?>
</head>

<body id="bd" class="fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $this->browser();?>">

<div id="ja-wrapper">
	<a name="Top" id="Top"></a>

	<!-- HEADER -->
	<?php $this->loadBlock('header') ?>
	<!-- //HEADER -->
	
	<?php $this->loadBlock('topsl') ?>

	<!-- MAIN CONTAINER -->
	<div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w'); ?>">
	<div class="main clearfix">

		<div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
			<?php $this->loadBlock('main') ?>
			<?php $this->loadBlock('left') ?>
		</div>

		<?php $this->loadBlock('right') ?>

	</div>
	</div>
	<!-- //MAIN CONTAINER -->

	<?php $this->loadBlock('botsl') ?>

	<!-- FOOTER -->
	<?php $this->loadBlock('footer') ?>
	<!-- //FOOTER -->

</div>

<jdoc:include type="modules" name="debug" />

<?php if ($this->isIE6()) : ?>
	<?php $this->loadBlock('ie6/ie6warning') ?>
<?php endif; ?>

</body>

</html>
